package com.oracle.oa.dao;

import java.util.List;

import com.oracle.oa.entity.Userinfo;

public interface UserInfoDao extends BaseDao {

	//根据部门和id查找
	public List getBydepartAndUserid(Object departname,Object userid);
	//根据id和姓名查找
	public List getUseridAndUsername(Object userid,Object username);
	//根据部门和姓名查找
	public List getBydepartAndUsername(Object departname,Object username);
	//根据部门和id和姓名查找
	public List getBydepartAndUsernameandUserid(Object departname,Object userid,Object username);
	//根据姓名模糊查找
	public List<Userinfo> getByPorUsername(Object username);
	
	public List<Userinfo> getByDeptId(Long deptid);//武明月
	public List<Userinfo> getByRoleid(Long roleid);//武明月
}
